local thbattle__cuixiang_zuimeng = fk.CreateSkill {

  name = "thbattle__cuixiang_zuimeng",

  tags = { Skill.Compulsory, },

}



thbattle__cuixiang_zuimeng:addEffect("atkrange", {
  correct_func = function(self, from, to)
    if from:hasSkill(thbattle__cuixiang_zuimeng.name) and from:getMark("@@hezui") > 0 then
      return 2
    end
  end,
})

thbattle__cuixiang_zuimeng:addEffect(fk.EventPhaseStart, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__cuixiang_zuimeng.name) and player.phase == Player.Start and
        player:getMark("@@hezui") > 0
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(1, thbattle__cuixiang_zuimeng.name)
  end
})

return thbattle__cuixiang_zuimeng